package com.gitee.situation.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import lombok.Data;

/**
 * 实体类
 *
 * @author: wq
 * @date: 2021-04-06
 */
@Data
@TableName("situation_news")
public class SituationNews implements Serializable {


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 时间
     */
    @TableField("pub_date_str")
    private String pubDateStr;

    /**
     * 标题
     */
    @TableField("title")
    private String title;

    /**
     * 总结
     */
    @TableField("summary")
    private String summary;

    /**
     * 消息来源
     */
    @TableField("info_source")
    private String infoSource;

    /**
     * 地址
     */
    @TableField("source_url")
    private String sourceUrl;

}
